﻿using System;
using System.Collections.Generic;

namespace OpenLS.Spreadsheet
{
    class MultiCellRegion: CellRegion
    {
        private List<Cell> _cells;

        public MultiCellRegion(IEnumerable<Cell> cells)
        {
            this._cells = Enumerable.ToList(cells);
        }


        protected override IEnumerable<Cell> GetAllCells()
        {
            return _cells;
        }

        public override ClusterImpact GetClusterImpact(CellClusterKey key)
        {
            return ClusterImpact.Unknown;
        }
    }
}